export default class NewsItem {
  uniquekey: string = ""
  title: string = ""
  date: string
  category: string
  author_name: string
  url: string
  thumbnail_pic_s: string
  // thumbnail_pic_s02: string
  // thumbnail_pic_s03: string
  is_content: number

  //辅助属性
  has_read: boolean = false

  /**
   * "uniquekey": "db61b977d9fabd0429c6d0c671aeb30e",
   "title": "“新时代女性的自我关爱”主题沙龙暨双山街道福泰社区妇儿活动家园启动仪式举行",
   "date": "2021-03-08 13:47:00",
   "category": "头条",
   "author_name": "鲁网",
   "url": "https://mini.eastday.com/mobile/210308134708834241845.html",
   "thumbnail_pic_s": "https://dfzximg02.dftoutiao.com/news/20210308/20210308134708_d0216565f1d6fe1abdfa03efb4f3e23c_0_mwpm_03201609.png",
   "thumbnail_pic_s02": "https://dfzximg02.dftoutiao.com/news/20210308/20210308134708_d0216565f1d6fe1abdfa03efb4f3e23c_1_mwpm_03201609.png",
   "thumbnail_pic_s03": "https://dfzximg02.dftoutiao.com/news/20210308/20210308134708_d0216565f1d6fe1abdfa03efb4f3e23c_2_mwpm_03201609.png",
   "is_content": "1"
   * @returns
   */
  static mock(): Array<NewsItem> {
    let array: Array<NewsItem> = []
    for (let index = 0; index < 1; index++) {
      let news = new NewsItem()
      array.push(news)
      news.uniquekey = "db61b977d9fabd0429c6d0c671aeb30e";
      news.title = "新时代女性的自我关爱”主题沙龙暨双山街道福泰社区妇儿活动家园启动仪式举行";
      news.date = "2021-03-08 13:47:00";
      news.author_name = "鲁网";
      news.url = "https://mini.eastday.com/mobile/210308134708834241845.html"
      news.thumbnail_pic_s = "https://dfzximg02.dftoutiao.com/news/20210308/20210308134708_d0216565f1d6fe1abdfa03efb4f3e23c_0_mwpm_03201609.png";
    }
    return array
  }
}


